{php}
    Application::getResponse()->assign(array(
        'LANGUAGE' => LANGUAGE, 
        ));
{/php}

{if not isset($submit)}{assign var="submit" value="SUBMIT"}{/if}
<form method="{$form.method}" action="{$form.action}" enctype="{$form.enctype}">
    
    {foreach name=elements from=$form.elements key=name item=element}

        {if $element.type ne 'hidden'}

        {include file="_form-error.tpl"}
        
        <div class="overflow">
            {if $element.template ne 'checkbox'}
                <label for="{$name}">
                    {$element.caption|translate}{if $element.required}*{/if}:
                </label>
            {/if}
            {include file="component/form/"|cat:$element.template|cat:".tpl"}
        </div>
        
        {/if}
    {/foreach}
    
   	<input type="submit" value="" id="send_info"  class="{$submit}_{$LANGUAGE}"/>
    
</form>
